package com.yanqu.road.entity.systemgroup.newmonopolymarket;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.List;

@FieldTypeAnnotation(tableName = "t_c_new_monopoly_market_server_data")
public class NewMonopolyMarketServerAbilityData extends DataObject {

    @FieldTypeAnnotation(select = true, update = true,desc = "分组id")
    private long groupId;

    @FieldTypeAnnotation(desc = "每周", update = true, select = true)
    private int weekId;

    @FieldTypeAnnotation(update = true, desc = "区服")
    private long serverId;

    @FieldTypeAnnotation(desc = "活跃人数")
    private int activeNum;

    @FieldTypeAnnotation(desc = "重置时间")
    private int resetTime;

    @FieldTypeAnnotation(desc = "玩家门客、美女能力")
    private List<NewMonopolyUserAbility> userAbilityList;

    public long getGroupId() {
        return groupId;
    }

    public void setGroupId(long groupId) {
        if(this.groupId != groupId) {
            this.groupId = groupId;
            setUpdateOption();
        }
    }

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        if(this.weekId != weekId) {
            this.weekId = weekId;
            setUpdateOption();
        }
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        if(this.serverId != serverId) {
            this.serverId = serverId;
            setUpdateOption();
        }
    }

    public int getActiveNum() {
        return activeNum;
    }

    public void setActiveNum(int activeNum) {
        if(this.activeNum != activeNum) {
            this.activeNum = activeNum;
            setUpdateOption();
        }
    }

    public int getResetTime() {
        return resetTime;
    }

    public void setResetTime(int resetTime) {
        if(this.resetTime != resetTime) {
            this.resetTime = resetTime;
            setUpdateOption();
        }
    }

    public List<NewMonopolyUserAbility> getUserAbilityList() {
        return userAbilityList;
    }

    public void setUserAbilityList(List<NewMonopolyUserAbility> userAbilityList) {
        this.userAbilityList = userAbilityList;
        setUpdateOption();
    }
}
